package com.zx.idc.backend.gui.api.ftp.basic;

import com.zx.idc.backend.gui.api.ftp.BaseFtpOperatorFactory;
import com.zx.idc.backend.gui.api.ftp.FtpClientConfig;

/**
 * @author rxliuli
 */
public class BasicFtpOperatorFactory implements BaseFtpOperatorFactory {
    private FtpClientConfig config;

    public BasicFtpOperatorFactory(FtpClientConfig config) {
        this.config = config;
    }

    @Override
    public BasicFtpOperator createOperator() {
        return new BasicFtpOperator(config);
    }
}
